package org.jeecg.modules.voucher.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.voucher.entity.Voucher;
import org.jeecg.modules.voucher.mapper.VoucherMapper;
import org.jeecg.modules.voucher.service.IVoucherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 代金券
 * @Author: jeecg-boot
 * @Date:   2024-07-01
 * @Version: V1.0
 */
@Service
public class VoucherServiceImpl extends ServiceImpl<VoucherMapper, Voucher> implements IVoucherService {

    @Autowired
    private VoucherMapper voucherMapper;
    @Override
    public IPage<Voucher> pageList(Page<Voucher> page, QueryWrapper<Voucher> queryWrapper) {
        return voucherMapper.pageList(page,queryWrapper);
    }
}
